The Component Manager allows you to specify information about your component's capabilities in the componentFlags field of the component description structure. Apple has defined two component flags for clock components. These flags specify information about the capabilities of the clock component. You set these flags in the componentFlags field of your component's component description structure. You can use the following constants to manipulate these flags. You should set them appropriately for your clock. For more on the component description structure, see the chapter "Component Manager" in Inside Macintosh: More Macintosh Toolbox .
enum {
kClockRateIsLinear = 1,/* clock keeps constant
rate */
kClockImplementsCallBacks = 2/* clock supports callback
events */
};
You should set the componentFlags field appropriately in the component description structure that is associated with your clock component.